<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <link type="text/css" rel="stylesheet" href="resources/css/default.css" />   
    </h:head>
    <p:panel>
        <h:form>
            <p:commandButton style="margin-bottom: 5px;width: 100%;" action="pacient.xhtml" value="Первичный осмотр" update=":newform:panel1">
                 <f:setPropertyActionListener value="#{true}" target="#{viewScope.render}" /> 
            </p:commandButton>
                <br/>
            <p:commandButton style="margin-bottom: 5px;width: 100%;" value="Дневник" action="reg_pacient.xhtml" ajax="false"/><br/>
            <p:commandButton style="margin-bottom: 5px;width: 100%;" value="Лабораторные и дополнительные иследования" action="primary_patient_survey.xhtml" ajax="false"/><br/>
            <p:commandButton style="margin-bottom: 5px;width: 100%;" value="План лечения" action="main.xhtml" ajax="false"/><br/>
            <p:commandButton style="margin-bottom: 5px;width: 100%;" value="План обследования" action="main.xhtml" ajax="false"/><br/>
            <p:commandButton style="margin-bottom: 5px;width: 100%;" value="Эпикрис" action="reg_pacient.xhtml" ajax="false"/><br/>
            <p:commandButton style="margin-bottom: 5px;width: 100%;" value="История болезни" action="reg_pacient.xhtml" ajax="false"/><br/>
        </h:form>

    </p:panel>
</html>

